github.com/coder/websocket.limitReader.n (field)
9 uses
github.com/coder/websocket (current package)
read.go#L504: n int64
read.go#L517: lr.n = lr.limit.Load()
read.go#L522: if lr.n < 0 {
read.go#L526: if lr.n == 0 {
read.go#L532: if int64(len(p)) > lr.n {
read.go#L533: p = p[:lr.n]
read.go#L536: lr.n -= int64(n)
read.go#L537: if lr.n < 0 {
read.go#L538: lr.n = 0
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |